package 进阶.IO.字节流.输入;

import java.io.FileInputStream;
import java.io.IOException;

public class demo01 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("d:/a.txt");

        int l =0;
        while (fis.read() != -1){
            l = fis.read();
            System.out.println((char)l);
        }
        fis.close();
    }
}
